import request from '@/utils/request'

// 查询考试报名订单信息列表
export function listExam_order(query) {
  return request({
    url: '/exam_order/exam_order/list',
    method: 'get',
    params: query
  })
}

// 查询考试报名订单信息详细
export function getExam_order(id) {
  return request({
    url: '/exam_order/exam_order/' + id,
    method: 'get'
  })
}

// 新增考试报名订单信息
export function addExam_order(data) {
  return request({
    url: '/exam_order/exam_order',
    method: 'post',
    data: data
  })
}

// 修改考试报名订单信息
export function updateExam_order(data) {
  return request({
    url: '/exam_order/exam_order',
    method: 'put',
    data: data
  })
}

// 删除考试报名订单信息
export function delExam_order(id) {
  return request({
    url: '/exam_order/exam_order/' + id,
    method: 'delete'
  })
}
